// pages/liketie/liketie.js
const app = getApp()
Page({
  data: {
    judge:'',
    Tie:[],
    Tie_1:[],

  },
  tiepage(){
    wx.navigateTo({
      url: '/pages/tiepage/tiepage',
    })
  },
  tiepage_1(){
    wx.navigateTo({
      url: '/pages/tiepage1/tiepage1',
    })
  },


  onLoad(options) {
    var gettie = app.globalData.liketie
    var gettie_1 = app.globalData.liketie_1
    var panduan 
    var that = this
    if(gettie==gettie_1){
      panduan=1
    }
    console.log('123',this.data.judge)
    console.log(panduan)
    this.setData({
      Tie:gettie,
      Tie_1:gettie_1,
      judge:panduan
    })
    
  },

 
})